<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查询客户信息</title>
</head>
<body>
<h2>查询客户信息</h2>
<table border="1" cellpadding="1" cellspacing="1">
	<tr>
		<th>编号</th>
		<td>${c.id }</td>
	</tr>
	<tr>
		<th>姓名</th>
		<td>${c.userName }</td>
	</tr>
	<tr>
		<th>性别</th>
		<c:choose>
			<c:when test="${c.gender==1 }">
				<td>男</td>
			</c:when>
			<c:otherwise>
				<td>女</td>
			</c:otherwise>
		</c:choose>
	</tr>
	<tr>
		<th>生日</th>
		<td>${c.birth }</td>
	</tr>
	<tr>
		<th>电话</th>
		<td>${c.tel }</td>
	</tr>
</table>
</body>
</html>